<template>
	<div id="app">
		<lyz-table :columns="inviteListColumns" :list="inviteListTemp"></lyz-table>
	</div>
</template>

<script>
	export default {
		name: 'App',
		components: {
		},
		data() {
			return {
				inviteListTemp: [{
					nickname: '11',
					createTime: '111'
				}, {
					nickname: '11',
					createTime: '111'
				}, {
					nickname: '11',
					createTime: '111'
				}, {
					nickname: '11',
					createTime: '111'
				}],
				inviteListColumns: [{
						title: '序号',
						key: 'index',
						style: {
							fontSize: '14px',
							width: '50px',
							textAlign: 'center'
						},
						columnStyle: {
							textAlign: 'center'
						}
					},
					{
						title: '用户名称',
						key: 'nickname',
						style: {
							fontSize: '14px',
							flex: '1'
						}
					},
					{
						title: '邀请时间',
						key: 'createTime',
						style: {
							fontSize: '14px',
							flex: '1',
							textAlign: 'right'
						},
						columnStyle: {
							color: 'pink'
						}
					}
				],
			}
		}
	}
</script>

<style>
</style>
